package cn.tedu.boyou.acticle.mapper;

import cn.tedu.boyou.acticle.domain.Answering;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AnsweringMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Answering record);

    Answering selectByPrimaryKey(Long id);

    List<Answering> selectAll();

    int updateByPrimaryKey(Answering record);

    List<Long> getAll(@Param("t") String t);

    List<Answering> ListAll(int state);
}